.box {
  border-radius: 12px;
  background: #ffffff;
}
.wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  height: calc(100% - 70px);
}
.wrapper .total {
  margin-right: 16px;
  width: calc((100% - 16px) * 0.5);
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  background: #4080ff;
  height: 330px;
}
.wrapper .total .word .figure {
  height: calc(100% - 60px);
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 24px;
}
.wrapper .total .word .figure img {
  width: 86px;
}
.wrapper .total .word .figure div {
  margin-left: 16px;
}
.wrapper .total .word .figure div p {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.2;
}
.wrapper .total .word .figure div p span {
  font-size: 12px;
}
.wrapper .total .word .figure div h3 {
  color: #ffffff;
  font-size: 48px;
  font-weight: bold;
  line-height: 1.2;
}
.wrapper .total .graph {
  width: 435px;
  height: 330px;
  background: #ffffff;
}
.wrapper .total .graph .legend {
  height: 22%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-start;
}
.wrapper .total .graph .legend div {
  padding-left: 82px;
  width: 50%;
  position: relative;
}
.wrapper .total .graph .legend div::after {
  content: "";
  position: absolute;
  top: 0;
  left: 70px;
  width: 4px;
  height: 100%;
  border-radius: 4px;
}
.wrapper .total .graph .legend div:first-child::after {
  background: #165dff;
}
.wrapper .total .graph .legend div:nth-child(2)::after {
  background: #6aa1ff;
}
.wrapper .total .graph .legend div p {
  color: #4e5969;
  font-size: 14px;
}
.wrapper .total .graph .legend div h4 {
  color: #1d2129;
  font-size: 20px;
  font-weight: 600;
}
.wrapper .total .graph .legend div h4 span {
  color: #4e5969;
  font-size: 12px;
}
#difference {
  width: 100%;
  height: 78%;
}
.wrapper .napes {
  width: calc((100% - 16px) * 0.5);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.wrapper .napes > div {
  width: calc((100% - 32px) / 3);
  height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.wrapper .title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  padding-bottom: 0;
}
.wrapper .title div {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.wrapper .title div h4 {
  color: #ffffff;
  font-weight: 600;
  font-size: 20px;
}
.wrapper .title img {
  width: 28px;
}
.wrapper .title div img {
  margin-left: 12px;
}
.wrapper .napes > div.begin {
  background: #7239ea;
}
.wrapper .napes > div.influx {
  background: #f1416c;
}
.wrapper .napes > div.outflow {
  background: #50cd89;
}
.wrapper .napes .amount {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  padding-bottom: 27px;
}
.wrapper .napes > div.begin .amount {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}
.wrapper .napes .amount div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wrapper .napes .amount p {
  color: #ffffff;
  font-size: 16px;
}
.wrapper .napes > div.begin .amount p {
  color: #ffffff;
  font-size: 18px;
}
.wrapper .napes .amount span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}
.wrapper .napes .amount h4 {
  color: #ffffff;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 8px;
}
.wrapper .napes .items {
  padding: 35px 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background: #ffffff;
  position: relative;
}
.wrapper .napes .items img {
  position: absolute;
  width: 32px;
  right: 23%;
  top: -20px;
}
.wrapper .napes .items > div {
  padding-left: 24px;
  width: 100%;
}
.wrapper .napes .items p {
  color: #4e5969;
  font-size: 14px;
}
.wrapper .napes .items h5 {
  color: #1d2129;
  font-size: 20px;
  font-weight: 600;
}
.wrapper .napes .items h5 span {
  color: #4e5969;
  font-weight: normal;
  font-size: 12px;
}

.wrapper .month {
  width: 100%;
  height: calc(100% - 346px);
  padding: 24px;
  margin-top: 16px;
}
.headline h3 {
  color: #1d2129;
  font-size: 20px;
  font-weight: 600;
}
#monthqs {
  width: 100%;
  height: calc(100% - 28px);
}

@media screen and (max-width: 1400px) {
  .wrapper .napes {
    width: 100%;
    /* margin-bottom: 16px; */
  }
  .wrapper .total {
    width: 100%;
    margin-right: 0;
    margin-bottom: 16px;
  }

  .wrapper .month {
    height: 360px;
  }
}
